<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Monitor tuner</title>
    <link rel="stylesheet" href="<?=uri("css/monitor.css")?>" type="text/css"/>
<?php
        echo '<script type="text/javascript" src="'.uri("js/array.js").'"> </script>
        <script type="text/javascript" src="'.uri("js/css.js").'"> </script>
        <script type="text/javascript" src="'.uri("js/dom.js").'"> </script>
        <script type="text/javascript" src="'.uri("js/functions.js").'"> </script>
        <script type="text/javascript" src="'.uri("js/strip_space.js").'"> </script>
        <script type="text/javascript" src="'.uri("js/xhtml.js").'"> </script>
        <script type="text/javascript" src="'.uri("js/xml_string.js").'"> </script>';

?>
    <script type="text/javascript" src="<?=uri("js/monitor.js")?>"> </script>
    <base href="http://localhost/" />
</head>
<?php
$screenWidth = 512;
$screenHeight = 512;
?>
<body onload="init();">
    <img id="table" name="table" src="http://localhost/gamma.png?time=<?=time()?>" width="256" height="256" title="Correctly gamma" alt="Curve: &quot;Correctly gamma&quot;" />
    <div id="main" name="main" style="width: <?=$screenWidth/2?>px; height: <?=$screenHeight/2?>px">
        <div class="slider">
            <div class="marker" onmousemove="SliderOnMouseMove(this.nextSibling, event);" onmousedown="mouseDown(this.nextSibling, event);">
                <div class="top"><img src="img/pix.gif" /></div>
                <div class="main" style="height: 20px"><img src="img/pix.gif" /></div>
                <div class="bottom"><img src="img/pix.gif" /></div>
            </div><div class="bar" id="gradient" name="gradient" onmousemove="SliderOnMouseMove(this, event);" onmousedown="mouseDown(this, event);" style="width: <?=intval((string)($screenWidth/2))?>px; height: 20px"><img src="img/pix.gif" /></div>
        </div>
<?php
for ($i=0; $i<7; $i++) {
?>
        <div class="sampled"><img src="img/pix.gif" /></div>
        <div><img src="img/pix.gif" /></div>
<?php

}
?>
    </div>
    <a href="#reset" title="Reset tuning" onclick="reset(); return false;">Reset</a><br/>
    <a href="#send" title="Send data, use the GET method" onclick="env(); return false;">Send data</a>
    <!--<table id="table" name="table"></table>-->

</body>
</html>